<?php if (!defined('THINK_PATH')) exit(); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8"><LINK
href="<?php echo BASE_DIR; ?>top/admincp.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.3268" name=GENERATOR></HEAD>
<BODY topMargin=10>
<DIV id=append_parent></DIV>
<TABLE cellSpacing=6 cellPadding=2 width="100%" border=0>
  <TBODY>
  <TR>
    <TD>
      <TABLE class=guide cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD>企业管理&nbsp;»&nbsp;信息服务&nbsp;»&nbsp;管理信息</TD>
        </TR></TBODY></TABLE><BR>
      <FORM id=settings name=settings action="<?php echo url('AdminDels','Einfoservices'); ?>" method=post>
        <TABLE class=tableborder cellSpacing=0 cellPadding=0 width="100%"
border=0>
        <TBODY>
        <TR class=header>
          <TD width="10%">编号</TD>
          <TD width="40%">信息标题</TD>
          <TD width="20%">所属公司</TD>
          <TD width="15%">发布时间</TD>
          <TD width="15%">其他操作</TD>
        </TR>
        <TBODY>
		<?php foreach($Services as $S): ?>
        <TR>
          <TD width="10%" class=altbg0><input name="einfos_id[]" type="checkbox" value="<?php echo $S['einfos_id']; ?>" class="checkbox"><?php echo $S['einfos_id']; ?></TD>
          <TD width="40%" class=altbg0><span style="color:#990000; font:'宋体'">[<?php echo $S['Class']['name']; ?>]</span>&nbsp;&nbsp;<A href="<?php echo url('AdminDisplay','Einfoservices',NULL,NULL,array('einfos_id'=>$S['einfos_id'])); ?>" title="点击标题进行查看内容" target="_black"><?php echo substr($S['title'],0,36); ?></A>&nbsp;&nbsp;&nbsp;&nbsp;
		  <?php if($S['einfos_top'] == 'Y') echo "<span style=\"color:#FF0000; font:\'宋体\'\" title=置顶条目>置顶</span>"; ?>
		  <?php if($S['einfos_link'] == 'Y') echo "<span style=\"color:#0099FF; font:\'宋体\'\" title=链接外部页面>外链</span>"; ?>
		  <?php
		  $url = url('AdminUpdateAudit','Einfoservices',NULL,NULL,array('einfos_id'=>$S['einfos_id']));
		  if($S['einfos_audit'] == 'N') echo "<A href=$url><span style=\"color:#CCFF00; font:\'宋体\'\">待审</span></A>"; ?>
		  </TD>
          <TD width="20%" class=altbg0><?php echo $S['Enterprise']['name']; ?></TD>
          <TD width="15%" class=altbg0><?php echo date('Y-m-d',$S['created']); ?></TD>
          <TD width="15%" class=altbg0>
		  	<a href="<?php echo url('AdminUpdate','Einfoservices',NULL,NULL,array('einfos_id'=>$S['einfos_id'])); ?>" title="点击进行修改">修改</a>
		  	<a href="<?php echo url('AdminDels','Einfoservices',NULL,NULL,array('einfos_id'=>$S['einfos_id'])); ?>" title="删除此条数据">删除</a>
			<a href="
            <?php
             if($S['einfos_top'] == '' or $S['einfos_top'] == 'N'){
			 	$TopState = 'N';
			 } else {
			 	$TopState = 'Y';
			 }
            echo url('AdminSetTop','Einfoservices',NULL,NULL,array('einfos_id'=>$S['einfos_id'],'einfos_top'=>$TopState));?>" title="修改置顶状态">
			<?php echo ($S['einfos_top'] == 'Y') ? '<span style=\'color:#FF0000\';>取消置顶<span>' : '设置置顶'; ?>
			</a>
		  </TD>
        </TR>
		<?php endforeach; ?>
        <TR>
          <TD colspan="5" class=altbg0><?php echo $page; ?></TD>
          </TR></TBODY></TABLE>
        <BR>
      <CENTER>
        <INPUT name=Submit type=submit class=button id="Submit" value="删 除 选 中">
      </CENTER></FORM></TD></TR></TBODY></TABLE><BR><BR>
<DIV class=footer>
<HR width="80%" color=#9db3c5 noShade SIZE=0>
Powered by <A style="COLOR: #666" href="http://www.ThankPHP.com/"
target=_blank><B>ThankPHP!</B> 0.1.0</A> &nbsp;© 2009-2010, <B><A
style="COLOR: #666" href="http://www.ThankPHP.com/" target=_blank>ThankPHP
Inc.</A></B><SPAN class=smalltxt></SPAN></DIV>
</BODY></HTML>
